<template>
  <div class="dashboard-container">
    <div class="dashboard-title">Good Morning, {{ name }}</div>
    <div class="dashboard-text">You have 3 issues to check</div>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  name: 'Dashboard',
  computed: {
    ...mapGetters([
      'name'
    ])
  }
}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
    background: rgb(228, 227, 227);
  }
  &-title {
    font-size: 40px;
    line-height: 60px;
    font-weight: 400;
  }
  &-text {
    margin-top: 20px;
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
